<!DOCTYPE html>
<html th:lang="#{lang}">
<head>
  <meta charset="UTF-8" />
  <title th:text="|#{user.login}-#{title}|"></title>
  <meta name="keywords" th:content="#{keywords}">
  <meta name="description" th:content="#{description}">
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,initial-scale=1.0" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta content="black" name="apple-mobile-web-app-status-bar-style" />
  <meta content="telephone=no" name="format-detection" />
  <link rel="icon" sizes="16x16" href="/static/img/favicon.ico" />
  <link rel="icon" type="image/png" href="/static/img/favicon.png" />
  <link href="/static/css/global.css" rel="stylesheet" type="text/css"/>
  <link href="/static/css/style.css" rel="stylesheet" type="text/css"/>
  <style>
    .xieyi{
      font-size: 12px;
      color: #585858;
      margin-top: 15px;
    }
    .xieyi a{
      color:#3591d5;
    }
  </style>
</head>
<body>

<!--head-->
<div class="subHeader">
  <div class="BarTit" th:text="#{user.login}">账号登录</div>
  <a href="javascript:" class="iconRet" onclick="goBack()"></a>
  <a href="/comic/register" class="linktxt ffb" th:text="#{user.register}">注册</a>
</div>
<!--head end-->
<div class="center"><img width="50%" src="/static/logo.png"></div>
<div class="loginBox">
  <form method="POST" action="/login.html" accept-charset="UTF-8">
    <input type="text" name="username" class="userInput" id="userName" placeholder="username" style="margin-bottom:5px;">
    <p style="display:none" id="user_erro"></p>
    <input type="password" name="passWord"  class="passInput" id="passWord" placeholder="password" style="margin-top:5px;margin-bottom:5px;">
    <p style="display:none" id="pass_erro"></p>
    <p class="loginCheck" onclick="m_login.check(this)" style="margin-top:5px;" th:text="#{login.auto}">下次自动登录</p>
    <a class="Forgot" href="javascript:alert('I \'m sorry !');"style="margin-top:5px;" th:text="#{login.forget}">忘记密码</a>
    <div class="clear"></div>
    <p class="xieyi"><label th:text="#{login.title}">登录即视为同意</label>
      <a href="#" class="user_agreement" th:text="#{login.notice1}">服务使用协议</a>、
      <a href="#" class="user_agreement" th:text="#{login.notice2}">动漫隐私策略</a>
    </p>
    <div class="clear"></div>
    <a class="LoginBtn" onclick="m_login.loginAction()" th:text="#{user.login}">登录</a>
  </form>
</div>

</body>
<div th:replace="common/js"></div>
<script type="text/javascript" src="/static/js/m_regis.js"></script>
</html>